package com.itheima.demo4genericity;

import com.itheima.demo3genericity.Student;

//泛型方法
public class genericityDemo1
{
    public static void main(String[] args) {
        String []names = {"张三","李四","王五"};
        Student[] stus=new Student[5];
        String max=getmax(names);
        Student getmax = getmax(stus);
    }
    public static <T> T getmax(T[] arr)
    {
            return null;
    }
}
